<?php

class Photo_Table_Model_Photo extends Database_Model_Item
{
	/**
	 * read only
	 * @var string
	 */
	protected $_itemType = 'photo';

	function getId()
	{
		return $this -> photo_id;
	}

	function getUrl()
	{
		return Nuo::getUrl('photo/view', array('photo_id' => $this -> getId()));
	}
}
